<template>
    <van-tabbar v-model="active">
            <van-tabbar-item icon="wap-home" to='/home'>首页</van-tabbar-item>
            <van-tabbar-item icon="wap-nav" to="/category">分类</van-tabbar-item>
            <van-tabbar-item icon="shopping-cart" to="/cart">购物车</van-tabbar-item>
            <van-tabbar-item icon="manager"  to="/min">我的</van-tabbar-item>
    </van-tabbar>
</template>
<script>
export default {
    data(){
        return{
            active:0,
        }
    },
}
</script>
<style scoped>

</style>